<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>实名认证</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="../../css/public-heder-Reset.css">
	<link rel="stylesheet" href="../../css/input-button.css">
</head>
<body>
	<!-- page_box -->
	<div class="page-box">
		<!-- header -->
		<header class="page-header">
			<a href="Uaccount.html" class="back"></a>
			<p class="pege-name">实名认证</p>
		</header>
		<div class="liubai"></div>
		<!-- header /-->
		<!-- User-information -->
		<div class="User-information">
			<div class="User-form">
				<div class="user-name">
					<label>
						<input type="text" class="uName" style="font-size:17px" placeholder="请输入真实姓名">
						<span class=""></span>
					</label>
				</div> 
				<div class="ID-number">
					<label>
						<input type="text" class="Uid eliminate" maxlength="18" style="font-size:17px" placeholder="请输入身份证号码">
						<span class=""></span>
					</label>
				</div> 
			</div>	
			<div class="submit-btn">
				<button style="border:none" disabled="disabled">确定</button>
			</div>
		</div>
		<!-- User-information / -->
	</div>
<script type="text/javascript" src="../../js/jquery.min.js"></script>
<script type="text/javascript" src="../../js/http-url.js"></script>
<script type="text/javascript">
	$(function(){
		$("input").on("keyup", function (event) {
			var Uname=$('.uName').val().trim();
			var Uid=$('.Uid').val().trim();
			if(Uid.length>=15 && Uname!=""){
				sureSubmit()
			}else {
				cannotSubmit()
			}
		})
		$('.submit-btn button').click(function(){
			submitOk()
			var Uname=$('.uName').val().trim();
			var Uid=$('.Uid').val().trim();
			var UserData={'Uname':Uname,'Uid':Uid}
			ajaxRequest('/api/user/ca/certify/name',UserData,function(data){
			},false)
		})
		

	});
</script>
</body>
</html>